Skip to content

Add test for configure and fix flaky tests #855

Open
vshanthe wants to merge 2 commits intodevfrom
int_tests
Open

Add test for configure and fix flaky tests #855
vshanthe wants to merge 2 commits intodevfrom
int_tests

Conversation

@vshanthe
Copy link
Contributor

📝 Description

Test for configure and fix flaky tests

✔️ How to Test

make test-int TEST_CASE=test_account.py
make test-int TEST_CASE=test_clusters.py
make test-int TEST_CASE=test_ssh.py

@vshanthe vshanthe requested a review from a team as a code owner February 13, 2026 12:46
@vshanthe vshanthe requested review from Copilot, ezilber-akamai and yec-akamai and removed request for a team February 13, 2026 12:46
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a smoke test for the configure command and fixes flaky integration tests by adding proper retry logic and correcting test assertions. The changes improve test reliability by handling transient SSH connection issues and fixing incorrect header validation in the LKE node view test.

Changes:

  • Added retry logic with 10 attempts for SSH connectivity test to handle transient failures
  • Fixed incorrect header assertions in LKE node view test (split malformed string into proper header list and added missing pool_id)
  • Added smoke test for linode-cli configure --help command

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
tests/integration/ssh/test_ssh.py Added subprocess import, .strip() calls for consistency, and retry logic for flaky SSH connectivity test
tests/integration/lke/test_clusters.py Fixed malformed header list in test_view_node from single concatenated string to proper list with pool_id
tests/integration/account/test_account.py Added smoke test for configure command help output

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant